<template>
  <web-view :src="url" v-if="url"></web-view>
</template>
 
<script>
export default {
  data() {
    return {
      url: null, //要打开的外部链接
    };
  },
  onLoad: function (option) {
      console.log(option)
    if (option.url!=="null") {
      this.url = option.url;
    }else{
     this.$mRouter.back();
    }
  },
};
</script>